﻿#ifndef PROGRESSSCREENSHOT_H
#define PROGRESSSCREENSHOT_H
#include "windows.h"
#include <QPixmap>
#include <list>
#pragma comment(lib,"User32.lib")

using namespace std;

class ProgressScreenshot
{
public:
    ProgressScreenshot();
    bool checkWindowValid(HWND hwnd);
    list<HWND> GetWindowHwndsByPID(DWORD pID);
    string getWindowTitle(HWND hwnd);
    int getRgbMaxDiff(int r,int g,int b);
    void removeWiteBack(QVector<QPixmap> &pixmapVector);
    QVector<QPixmap> getCreenshotByPID(DWORD pID);

};

#endif // PROGRESSSCREENSHOT_H
